/* order_pkg/pages/settlement/settlement.wxss */
Page {
    background-color: #f1f1f2;
}

.address {
    position: relative;
    padding-left: 24rpx;
    padding-right: 32rpx;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 136rpx;
    background-color: #fff;

    .left {
        margin-right: 20rpx;

        image {
            width: 44rpx;
            height: 44rpx;
        }
    }

    .mid {
        flex: 1;

        .top {
            text {
                font-size: 28rpx;
                color: #303133;
                line-height: 44rpx;
                font-weight: 600;
            }
        }

        .bottom {
            margin-top: 4rpx;
            font-size: 28rpx;
            color: #777;
            line-height: 44rpx;
            font-weight: 400;;
        }
    }

    .right {
        image {
            width: 32rpx;
            height: 32rpx;
        }
    }

    .address-img {
        position: absolute;
        bottom: 0;
        width: 750rpx;
        height: 8rpx;
    }
}

.goods {
    margin-top: 16rpx;
    background-color: #fff;

    .goods-card {
        display: flex;
        justify-content: space-between;
        // align-items: center;
        padding: 24rpx 40rpx;
        box-sizing: border-box;
        height: 228rpx;
        box-shadow: inset 0rpx -2rpx 0rpx 0rpx rgba(248,248,248,1);

        .left {
            margin-right: 28rpx;

            image {
                width: 180rpx;
                height: 180rpx;
            }
        }

        .right {
            flex: 1;

            .title {
                font-size: 28rpx;
                color: #484848;
                line-height: 44rpx;
                font-weight: 500;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-line-clamp: 2;
                display: -webkit-box;
                -webkit-box-orient: vertical;
            }

            .text {
                margin-top: 4rpx;
                display: flex;
                justify-content: space-between;

                .number {
                    font-size: 28rpx;
                    color: #999;
                    line-height: 40rpx;
                    font-weight: 400;
                }

                .price {
                    font-size: 28rpx;
                    color: #f03c3c;
                    line-height: 40rpx;
                    font-weight: 400;
                }
            }
        }
    }

    .goods-total {
        padding-left: 40rpx;
        padding-right: 40rpx;
        box-sizing: border-box;
        width: 750rpx;
        height: 70rpx;
        text-align: right;

        .text {
            font-size: 28rpx;
            color: #777;
            font-weight: 500;
            line-height: 70rpx;
        }

        .price {
            margin-left: 44rpx;
            font-size: 32rpx;
            color: #f03c3c;
            font-weight: 500;
            line-height: 70rpx;
        }
    }
}

.order-box {
    margin-top: 24rpx;
    padding-left: 40rpx;
    padding-right: 40rpx;
    box-sizing: border-box;
    background-color: #fff;

    .item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 86rpx;
        border-bottom: 1rpx solid rgba(231,231,231,1);

        .title {
            font-size: 28rpx;
            color: #303133;
            font-weight: 500;
        }

        .right {
            font-size: 32rpx;
            color: #f03c3c;
            font-weight: 500;
        }
    }
}

.pay-way {
    margin-top: 24rpx;
    padding-left: 40rpx;
    padding-right: 40rpx;
    box-sizing: border-box;
    background-color: #fff;

    .item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 86rpx;
        border-bottom: 1rpx solid rgba(231,231,231,1);

        .text {
            flex: 1;
            font-size: 28rpx;
            color: #303133;
            font-weight: 500;
        }

        .left {
            margin-right: 16rpx;

            image {
                width: 32rpx;
                height: 32rpx;
            }
        }

        .right {
            image {
                width: 40rpx;
                height: 40rpx;
            }
        }
    }
}

.scroll {
    height: 100vh;
}

.order-bottom {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 750rpx;
    height: 96rpx;
    background-color: #fff;

    .left {
        margin-left: 40rpx;

        .black {
            font-size: 28rpx;
            color: #303133;
            font-weight: 500;
        }

        .red {
            font-size: 32rpx;
            color: #f03c3c;
            font-weight: 500;
        }
    }

    .right {
        button::after {
            border: none;
        }

        button {
            width: 240rpx;
            height: 96rpx;
            background-image: linear-gradient(270deg, #FF683A 0%, #F9231B 100%);
            border-radius: 0;
            font-size: 28rpx;
            color: #fff;
            line-height: 96rpx;
            font-weight: 500;
        }
    }
}

.couponCotainer {
    padding: 24rpx;
    box-sizing: border-box;
    height: 520rpx;
    background-color: #fff;

    .title {
        font-size: 28rpx;
        text-align: center;
    }

    .coupon {
        display: flex;
        align-items: center;
        margin-top: 24rpx;
        padding-left: 24rpx;
        padding-right: 24rpx;
        box-sizing: border-box;
        width: 702rpx;
        height: 180rpx;
        background-image: url('https://mp-982493b5-a00f-4313-8d91-a042535d3c79.cdn.bspapp.com/zhihuishangcheng/优惠券-未领取@2x.png');
        background-size: cover;

        .left {
            // padding-right: 48rpx;
            // border-right: 2rpx solid #fff;
            width: 210rpx;
            height: 180rpx;

            .top {
                margin-top: 40rpx;
                .yuan {
                    font-size: 30rpx;
                    color: #fff;
                    font-weight: 500;
                }

                .number {
                    font-size: 52rpx;
                    color: #fff;
                    font-weight: 500;
                }
            }

            .bottom {
                font-size: 24rpx;
                color: #fff;
                font-weight: 400;
            }
        }

        .right {
            padding-left: 48rpx;
            border-left: 2rpx solid #fff;

            .top {
                font-size: 32rpx;
                color: #fff;
                font-weight: 400;
            }

            .bottom {
                margin-top: 40rpx;
                font-size: 24rpx;
                color: #fff;
                font-weight: 400;
            }
        }
    }

    .coupon-scroll {
        height: 300rpx;
    }

    button {
        margin-top: 24rpx;
        width: 680rpx;
        height: 80rpx;
        background-color: #fff;
        color: #777;
    }
}